Skip to content

Conversation

@jackraymond
Copy link
Contributor

Expand the embedding example.

Add example for anneal_offset and flux_biases shimming in multi-color annealing context.

This pull request replaces #29

Copy link
Member

@randomir randomir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The embedding example is in a decent shape, but the shimming one doesn't run currently, and some clean-up is required. Also, please add release notes.

@jackraymond
Copy link
Contributor Author

I cannot reproduce the failure of python shim_mca_shim_AO_FB.py under defaults. Can you let me know the error message you are seeing and/or options used.

@randomir
Copy link
Member

I cannot reproduce the failure of python shim_mca_shim_AO_FB.py under defaults. Can you let me know the error message you are seeing and/or options used.

The example didn't run due to this, which looks like it's fixed in your latest update.

Copy link
Member

@randomir randomir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great now, thanks.

One small issue that should probably be handled is the missing (default) schedule file (excel doc). Perhaps note in the docs the user should manually download/provide it? And/or add a CLI arg for the schedule file?

Comment on lines +413 to +414
qpu_anneal_schedule = pd.read_excel(
fn_schedule, sheet_name="Fast-Annealing Schedule"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this line fails if the schedule file is not available? And the default file is not included in the repo.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a file, and documented that it shouldn't be relied upon for high performance.

@randomir randomir merged commit 2f81808 into dwavesystems:main Jan 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants